package com.yunchang.springboot.mapper.finance;

import com.yunchang.springboot.models.DO.finance.FinanceSubject;
import org.apache.ibatis.annotations.Param;

public interface FinanceSubjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FinanceSubject record);

    int insertSelective(FinanceSubject record);

    FinanceSubject selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FinanceSubject record);

    int updateByPrimaryKey(FinanceSubject record);
    /**
     * 根据子父科目名称获得id
     * */
    FinanceSubject getInfoBysubjectId(@Param("subjectId")int subjectId);
}